package vg.services.graph_view_manager.realization.graph_view.smart_graph_view.interfaces;

import javax.swing.JComponent;

import vg.services.graph_view_manager.interfaces.graph_view.IGraphRenderer;
import vg.services.progress_manager.interfaces.IProgressTask;

public interface ISGVTopScreen {
	/**
	 * This method lock gui for changing. 
	 * @param task - progress task, which will use 
	 * in progress bar. It may be <b>null</b>
	 */
	public IGraphRenderer lock(IProgressTask task);

	/**
	 * This method unlock gui. 
	 */
	public void unlock();
	
	public JComponent getView();
}
